<div >
	</div><!-- //top -->
	<div class="container">
		<nav class="navbar navbar-default">
			<div class="container-fluid">

				<div class="navbar-header">
				  <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navMenu">
					<span class="sr-only">Toggle navigation</span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				  </button>
				  <a href='../' class="navbar-brand" ><span>主页</span></a>
				</div>
				<!-- //如果不使用currentstyle，可以在channel标签加入 cacheid='channeltoplist' 属性提升性能 -->
				<div class="collapse navbar-collapse"  id="navMenu">
					<ul  class="nav navbar-nav">
					<!-- <li  class="active"><a href='{dede:global.cfg_cmsurl/}/'><span>主页</span></a></li> -->
					
					<?php
					   $archives = array();
						$sql = "SELECT typename, typedir
						FROM #@__arctype
						WHERE topid = 0
						ORDER BY sortrank LIMIT 7";
						$dsql->SetQuery($sql);
						$dsql->Execute();
						while ($row = $dsql->GetArray()){
						?>
							<li><a href='<?php echo '../'.substr($row['typedir'],10);?>' ><span><?php echo $row['typename'];?></span></a></li>
						<?php	
						}
					?>
					</ul>
				</div><!-- /.navbar-collapse -->	
		  
			</div><!-- /.container-fluid -->
		</nav>
	</div>
	
	
	
</div><!-- //header -->
